package com.spark.lola.support.wms.dto;

import lombok.Data;

/**
 * @Author: DengYeJun
 * @Date: 2020/4/29 19:08
 */
@Data
public class OrderDto<T> {
    public OrderDto() {
    }

    public OrderDto(Integer orderType, T order, String message) {
        this.orderType = orderType;
        this.order = order;
        this.message = message;
    }

    public OrderDto(Integer orderType, T order, String message, String jPushMessage) {
        this.orderType = orderType;
        this.order = order;
        this.message = message;
        this.jPushMessage = jPushMessage;
    }

    /**
     * 单据类型
     */
    private Integer orderType;
    /**
     * 订单
     */
    private T order;
    /**
     * 消息
     */
    private String message;

    private String jPushMessage;
}
